package kr.hkit.androidcomplete02.br;

import kr.hkit.androidcomplete02.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class DetectFree extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.detectfree);

		findViewById(R.id.brfree).setOnClickListener(
				new Button.OnClickListener() {
					@Override
					public void onClick(View v) {
						Intent intent = new Intent("FREEWIFI");
						intent.putExtra("BroadCast", "WiFi 가능지역");
						sendBroadcast(intent);
					}
				});
	}
}
